package com.session01.pm;

public class Main {
    public static void main(String[] args) {
        Pointer p1 = new Pointer();
        p1.x = 0;
        p1.y = 0;

        Pointer p2 = new Pointer();
        p2.x = 3;
        p2.y = 4;
        System.out.println("两点之间的距离为：" + p2.getDistance(p1));
    }
}
